package com.zhentao.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "手机号验证码登录请求参数")
public class PhoneLoginVO {
    @ApiModelProperty(value = "手机号", required = true, example = "15531826382")
    private String phone;
    
    @ApiModelProperty(value = "验证码", required = true, example = "123456")
    private String code;

    @ApiModelProperty(value = "角色ID(1:管理员 2:普通用户)", required = true, example = "2", allowableValues = "1,2")
    private Long rid;
} 